#ifndef SENDFILEDIALOG_H
#define SENDFILEDIALOG_H

#include <QWidget>
#include <QFile>
#include "filesender.h"

extern FileSender fileSender;

namespace Ui {
class SendFileDialog;
}

class SendFileDialog : public QWidget
{
    Q_OBJECT

public:
    explicit SendFileDialog(QWidget *parent = nullptr);
    ~SendFileDialog();

private slots:
    void on_toolButton_selectFile_clicked();

    void on_toolButton_sendFile_clicked();

private:
    Ui::SendFileDialog *ui;
    QFile file;
    QString fileName;
    quint64 fileSize;
    quint64 sendSize;
    QString filePath;
};

#endif // SENDFILEDIALOG_H

